package com.hakim.wfb.customer.params.trans;

import com.hkfs.fundamental.api.params.SessionParameter;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 积分兑换参数
 * Created by walkman on 2017/7/22.
 */
public class ExchangeCreditPointParameter extends SessionParameter {

    private static final long serialVersionUID = 1L;

    /**
     * 用户主键
     */
    @NotBlank(message = "用户ID不能为空")
    private String userId;

    /**
     * 用户编码
     */
    @NotBlank(message = "用户名不能为空")
    private String userCode;

    /**
     * 兑换积分类型
     */
    private Integer sourcePointType;

    /**
     * 兑换积分
     */
    private Double sourcePointAmount;

    /**
     * 提取积分类型
     */
    private Integer targetPointType;

    /**
     * 提取积分
     */
    private Double targetPointAmount;

    /**
     * 交易密码
     */
    @NotBlank(message = "交易密码不能为空")
    private String tradePassword;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public Integer getSourcePointType() {
        return sourcePointType;
    }

    public void setSourcePointType(Integer sourcePointType) {
        this.sourcePointType = sourcePointType;
    }

    public Double getSourcePointAmount() {
        return sourcePointAmount;
    }

    public void setSourcePointAmount(Double sourcePointAmount) {
        this.sourcePointAmount = sourcePointAmount;
    }

    public Integer getTargetPointType() {
        return targetPointType;
    }

    public void setTargetPointType(Integer targetPointType) {
        this.targetPointType = targetPointType;
    }

    public Double getTargetPointAmount() {
        return targetPointAmount;
    }

    public void setTargetPointAmount(Double targetPointAmount) {
        this.targetPointAmount = targetPointAmount;
    }

    public String getTradePassword() {
        return tradePassword;
    }

    public void setTradePassword(String tradePassword) {
        this.tradePassword = tradePassword;
    }
}
